<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class UserzhuceController extends CommonController
{
   
        public function index()
        {
        $list = \DB::table("userzhuce")->get(); //获取所有注册会员信息
       
        return view("admin.userzhuce.index",["list"=>$list]);
       
        }
        
        public function show($id)
        {
        return "详情信息".$id;
        }    
        
        //执行删除
        public function destroy($id)
        {
            \DB::table("userzhuce")->where("id",$id)->delete();
            return $this->index();
        }
    
}
